package com.mx;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;

/**
 * @author XuYiWen
 */
@SpringBootApplication
@EnableDiscoveryClient
@Slf4j
public class FileManagerApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(FileManagerApplication.class)
                .web(WebApplicationType.SERVLET).build().run(args);
    }

}
